<div class="header">
  <back-Btn></back-Btn>
  材料仓库
</div>
<div class="container finance task-review">
  <div class="list f_sk">
    <div class="section">
      <div class="list-item flex">
        <div class="w40 c9">仓库编号 </div>
        <div class="w60">{{ TaskReview.result.fileNo }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">仓库名称 </div>
        <div class="w60">{{ TaskReview.result.name }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">仓库类型 </div>
        <div class="w60" ng-switch="TaskReview.result.warehouseType">
          <div ng-switch-when="1">
            项目仓库
          </div>
          <div ng-switch-when="2">
            公司仓库
          </div>
        </div>
      </div>
      <div class="list-item flex"
        ng-show="TaskReview.result.province||TaskReview.result.city||TaskReview.result.county">
        <div class="w40 c9">所在地区 </div>
        <div class="w60">{{ TaskReview.result.province }}{{ TaskReview.result.city }}{{ TaskReview.result.county }}
        </div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.address">
        <div class="w40 c9">详细地址 </div>
        <div class="w60">{{ TaskReview.result.address }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">仓库状态 </div>
        <div class="w60" ng-switch="TaskReview.result.isValid">
          <div ng-switch-when="0">
            已停用
          </div>
          <div ng-switch-when="1">
            使用中
          </div>
        </div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.projectName">
        <div class="w40 c9">所属项目 </div>
        <div class="w60" relative-module="Xm_ProjectStore" module-no="{{TaskReview.result.projectNo }}">
          {{TaskReview.result.projectName}}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">创建人 </div>
        <div class="w60">{{ TaskReview.result.creator }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">创建时间 </div>
        <div class="w60">{{ TaskReview.result.createDate }}</div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.remark">
        <div class="w40 c9">备注</div>
        <div class="w60">{{ TaskReview.result.remark }}</div>
      </div>
      <!-- 自定义字段 -->
      <div checkuser-define field-map="TaskReview.result.customFields"></div>
      <!-- 附件 -->
      <div class="file-upload" file-list checked="true" file-data="TaskReview.result.attachment"></div>
      <div class="list table-list">
        <div class="info-title">仓库统计信息</div>
        <div class="table-item">
          <div class="list-item">
            <div class="item-label">材料种类 </div>
            <div class="flow-content">
              {{ TaskReview.result.totalCategoryQuantity }}
            </div>
          </div>
          <div class="list-item">
            <div class="item-label">入库总金额 </div>
            <div class="flow-content">{{ TaskReview.result.totalEnteringAmount|NBFmt }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">库存总估值 </div>
            <div class="flow-content">{{ TaskReview.result.totalWorthAmount|NBFmt }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">损耗总金额 </div>
            <div class="flow-content">{{ TaskReview.result.totalLossAmount |NBFmt }}</div>
          </div>
        </div>
      </div>
      <div class="list table-list"
        ng-show="TaskReview.result.chargePerson||TaskReview.result.managerNames||TaskReview.result.viewerNames">
        <div class="info-title">仓库人员信息</div>
        <div class="table-item">
          <div class="list-item" ng-show="TaskReview.result.chargePerson">
            <div class="item-label">仓库负责人 </div>
            <div class="flow-content">{{ TaskReview.result.chargePerson }}</div>
          </div>
          <div class="list-item" ng-show="TaskReview.result.managerNames">
            <div class="item-label">仓库管理员 </div>
            <div class="flow-content">{{ TaskReview.result.managerNames }}</div>
          </div>
          <div class="list-item" ng-show="TaskReview.result.viewerNames">
            <div class="item-label">仓库可见人 </div>
            <div class="flow-content">{{ TaskReview.result.viewerNames }}</div>
          </div>
        </div>
      </div>
    </div>
    <!-- 审查日志 -->
    <div log-list taskid="process_id"></div>
  </div>
</div>